package com.yanh.transaction.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 某商户针对某一种原始支付渠道的配置参数
 * </p>
 *
 * @author yanh
 * @since 2024-06-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("pay_channel_param")
public class PayChannelParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    /**
     * 配置名称
     */
    private String channelName;

    /**
     * 商户ID
     */
    private Long merchantId;

    /**
     * 原始支付渠道编码
     */
    private String payChannel;

    /**
     * 支付参数
     */
    private String param;

    /**
     * 应用与支付渠道绑定ID
     */
    private Long appPlatformChannelId;


}
